package com.mazaiting.gateway.domain;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 跨域URL配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "cors")
public class CorsBean {
    /**
     * 允许跨域访问列表
     */
    private List<String> urls;
}
